package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JButton;

public class FrameCdAtualizar extends JFrame {

	private JPanel contentPane;
	private JTextField txtNomeCD;
	private JTextField txtAnoCD;
	private JTextField txtArtista;
	private JTextField txtGeneroCD;
	private JTextField txtTipoCD;
	private JTextField txtValorCD;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrameCdAtualizar frame = new FrameCdAtualizar();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrameCdAtualizar() {
		setTitle("Manipula\u00E7\u00E3o de Cds | Atualiza\u00E7\u00E3o");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 480, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblAtualizaoDeCd = new JLabel("Atualiza\u00E7\u00E3o de CD");
		lblAtualizaoDeCd.setForeground(Color.DARK_GRAY);
		lblAtualizaoDeCd.setFont(new Font("Eras Demi ITC", Font.PLAIN, 16));
		lblAtualizaoDeCd.setBounds(166, 11, 162, 31);
		contentPane.add(lblAtualizaoDeCd);
		
		JLabel label_1 = new JLabel("T\u00EDtulo:");
		label_1.setBounds(10, 61, 46, 14);
		contentPane.add(label_1);
		
		txtNomeCD = new JTextField();
		txtNomeCD.setColumns(10);
		txtNomeCD.setBounds(46, 58, 297, 20);
		contentPane.add(txtNomeCD);
		
		JLabel label_2 = new JLabel("Ano:");
		label_2.setBounds(353, 61, 35, 14);
		contentPane.add(label_2);
		
		txtAnoCD = new JTextField();
		txtAnoCD.setColumns(10);
		txtAnoCD.setBounds(386, 58, 68, 20);
		contentPane.add(txtAnoCD);
		
		JLabel label_3 = new JLabel("Artista:");
		label_3.setBounds(10, 86, 46, 14);
		contentPane.add(label_3);
		
		txtArtista = new JTextField();
		txtArtista.setColumns(10);
		txtArtista.setBounds(56, 83, 287, 20);
		contentPane.add(txtArtista);
		
		JLabel label_4 = new JLabel("G\u00EAnero(s):");
		label_4.setBounds(10, 111, 58, 14);
		contentPane.add(label_4);
		
		txtGeneroCD = new JTextField();
		txtGeneroCD.setColumns(10);
		txtGeneroCD.setBounds(66, 108, 224, 20);
		contentPane.add(txtGeneroCD);
		
		JLabel label_5 = new JLabel("Tipo:");
		label_5.setBounds(300, 111, 58, 14);
		contentPane.add(label_5);
		
		txtTipoCD = new JTextField();
		txtTipoCD.setColumns(10);
		txtTipoCD.setBounds(331, 108, 123, 20);
		contentPane.add(txtTipoCD);
		
		JLabel label_6 = new JLabel("Pre\u00E7o (R$):");
		label_6.setBounds(10, 136, 58, 14);
		contentPane.add(label_6);
		
		txtValorCD = new JTextField();
		txtValorCD.setColumns(10);
		txtValorCD.setBounds(76, 133, 102, 20);
		contentPane.add(txtValorCD);
		
		JButton btnAtualizar = new JButton("Atualizar");
		btnAtualizar.setBounds(105, 195, 119, 23);
		contentPane.add(btnAtualizar);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(234, 195, 119, 23);
		contentPane.add(btnCancelar);
	}

}
